var dbserver = require('../dao/dbserver');

//引入邮箱发送方法
var emailserver=require('../dao/emailserver');

const { userInfo } = require('os');

module.exports = function(app){
    app.get('/test',(req,res)=>{
        dbserver.findUser(res);
    });
    //邮箱测试
    app.post('/mail',(req,res)=>{
        let mail=req.body.mail;
        console.log(mail);
    })
}